function change(obj) {
  var that = obj;
  var formData = new FormData();
  var fileObj = $(obj)[0].files[0];
  formData.append("file",fileObj);
  $.ajax({
    url:'${base}/admin/file/upload.jhtml',
    type:'POST',
    data:formData,
    dataType: "json",
    async:false,
    processData:false,
    contentType:false,
    success:function(data){
      $(that).parent().find(".imgPath").show();
      $(that).parent().find(".imgPath").attr("src",data.url);
      $(that).parent().find(".uploadBtn").css({"top":"100px"});
      $(that).parent().find(".imagePath").val(data.url);
      $(that).parent().find(".uploadBtn").val("修改");
    }
  })
};